WeDevs\Dokan\Commission A

Total Complexity 67
Dependencies 13
Dependents 0
Total lines 607
Lines of code 242
Logical lines of code 123
Comment lines 290
Methods 23
Properties 3

Methods 23

Method Rating Maintainability Complexity Lines of code
get_commission()
B
44 19 40
get_earning_by_order()
B
40 16 55
get_earning_by_product()
S
53 5 21
get_earning_from_order_table()
S
55 4 20
validate_rate()
S
69 4 6
calculate_commission()
S
53 1 24
get_all_order_to_be_processed()
S
66 2 9
get_legacy_commission_types()
S
68 1 7
get_processing_fee()
S
75 1 4
get_total_shipping_tax_refunded()
S
75 1 4
get_shipping_tax_fee_recipient()
S
75 1 4
get_tax_fee_recipient()
S
75 1 4
get_shipping_fee_recipient()
S
75 1 4
calculate_gateway_fee()
S
75 1 4
get_vendor_wise_type()
S
75 1 4
set_order_id()
S
76 1 4
get_vendor_wise_rate()
S
75 1 4
get_order_qunatity()
S
76 1 4
set_order_qunatity()
S
76 1 4
get_order_item_id()
S
76 1 4
get_order_id()
S
76 1 4
set_order_item_id()
S
75 1 4
get_vendor_wise_additional_fee()
S
75 1 4